<% for product in @products %>
  <div>
    <h3><%=h product.title %></h3>
    <%=h product.description %>
    <span><%= fmt_dollars product.price %></span>
    <%=link_to 'Add to Cart', {:action => 'add_to_cart', :id => product},
              :class => 'addtocart' %><br/>
  </div>
<% end %>
<%=link_to "Show my cart", :action => 'display_cart' %>
